gsk: Move gsk_cairo_node_new_for_surface into public API
authorUmang Jain <mailumangjain@gmail.com>
Fri, 6 Oct 2017 18:25:59 +0000 (23:55 +0530)
committerUmang Jain <mailumangjain@gmail.com>
Sun, 8 Oct 2017 12:52:34 +0000 (18:22 +0530)
https://bugzilla.gnome.org/show_bug.cgi?id=788534

gsk/gskrendernode.h
gsk/gskrendernodeprivate.h

index 8c67fd8aa7628a41fc5f8d30c3e8f3f433dbda17..8d3b75de4c5f699f5e1f62740cf45864c98c4716 100644 (file)
@@ -110,6 +110,9 @@ GskRenderNode *         gsk_outset_shadow_node_new              (const GskRounde
 GDK_AVAILABLE_IN_3_90
 GskRenderNode *         gsk_cairo_node_new                      (const graphene_rect_t    *bounds);
 GDK_AVAILABLE_IN_3_90
+GskRenderNode *         gsk_cairo_node_new_for_surface          (const graphene_rect_t    *bounds,
+                                                                 cairo_surface_t          *surface);
+GDK_AVAILABLE_IN_3_90
 cairo_t *               gsk_cairo_node_get_draw_context         (GskRenderNode            *node,
                                                                  GskRenderer              *renderer);
 
index e7518e4ea0fdc9496e645b731b9b2afaee7b6c55..c9d7a87e9bdbd28bf7a6ff8fdea10aec9bdb8318 100644 (file)
@@ -76,7 +76,6 @@ float gsk_outset_shadow_node_get_dy (GskRenderNode *node);
 float gsk_outset_shadow_node_get_spread (GskRenderNode *node);
 float gsk_outset_shadow_node_get_blur_radius (GskRenderNode *node);
 
-GskRenderNode *gsk_cairo_node_new_for_surface (const graphene_rect_t *bounds, cairo_surface_t *surface);
 cairo_surface_t *gsk_cairo_node_get_surface (GskRenderNode *node);
 
 GskTexture *gsk_texture_node_get_texture (GskRenderNode *node);